package graph.models;

import java.util.ArrayList;
import java.util.List;

public class Graph {
	private boolean direction;
	private List<Vertex> vertexs;
	private List<Edge> edges;
	private int numbOfVertexs;
	private int numOfEdges;

	public Graph(boolean direction, int numOfVertexs, int numOfEdges) {
		this.direction = direction;
		this.numbOfVertexs = numOfVertexs;
		this.numOfEdges = numOfEdges;
		
		this.vertexs = new ArrayList<Vertex>();
		this.edges = new ArrayList<Edge>();
	}
	
	public void addVertex(Vertex vertex) {
		vertexs.add(vertex);
	}
	
	public void addEdge(Edge edge) {
		edges.add(edge);
	}
	
	public boolean getDirection() {
		return this.direction;
	}

	public void setDirection(boolean direction) {
		this.direction = direction;
	}
}
